package com.itheima.mapper;

import com.itheima.pojo.Area;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface AreaMapper {



    @Select("SELECT name,id from area where pid=#{pid}")
    public List<Area> selectById(int pid);

}
